package com.platform.unifiedweb.controller.system;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * describe:
 *
 * @author rainly
 * @date 2019/11/19
 * @time 4:11 下午
 */
@Controller
@RequestMapping(value = "system")
public class SystemController {

    @GetMapping(value = "base")
    public ModelAndView base(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/system-base");
        return modelAndView;
    }

    @GetMapping(value = "category")
    public ModelAndView category(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/system-category");
        return modelAndView;
    }

    @GetMapping(value = "categoryAdd")
    public ModelAndView categoryAdd(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/system-category-add");
        return modelAndView;
    }

    @GetMapping(value = "data")
    public ModelAndView data(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/system-data");
        return modelAndView;
    }

    @GetMapping(value = "log")
    public ModelAndView log(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/system-log");
        return modelAndView;
    }

    @GetMapping(value = "shielding")
    public ModelAndView shielding(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/system-shielding");
        return modelAndView;
    }

    @GetMapping(value = "codeing")
    public ModelAndView codeing(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/system/codeing");
        return modelAndView;
    }
}
